package com.example.mykotlin.model.entity

import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.Size

@Schema(name = "RolePermission", title = "角色权限关联表")
open class RolePermission(

    @field:Size(max = 64, message = "长度不能超过64")
    var roleId: String? = null,

    @field:Size(max = 128, message = "长度不能超过128")
    var permissionId: String? = null
)